Advertisement
Guest User

Untitled

a guest
Oct 26th, 2021
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. for i in range(6):
  2.     gettattr(self, f'pwm{i}'.setChecked(0)
  3.     gettattr(self, f'pwmtxt{i}'.setText('')
  4.     gettattr(self, f'pwmmax{i}'.setText('')
  5.     gettattr(self, f'pwmpin{i}'.setText('')
  6.     gettattr(self, f'pwmhw{i}'.setChecked(0)
  7.     gettattr(self, f'pwmvf{i}'.setChecked(0)
  8.     gettattr(self, f'pwmperiod{i}'.setText('')
  9.     gettattr(self, f'pwmfreq{i}'.setText('')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement